
package org.moyakarta.rest;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;

public class PlaceApplication extends Application
{
   @Override
   public Set<Class<?>> getClasses()
   {
      Set<Class<?>> cls = new HashSet<Class<?>>(1);
      cls.add(PlaceService.class);
      return cls;
   }

   @Override
   public Set<Object> getSingletons()
   {
      Set<Object> objs = new HashSet<Object>(1);
      objs.add(new PlaceNotFoundExceptionMapper());
      return objs;
   }
}
